﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq.Mapping;

namespace Anke.SHManage.Model.BasicEventInfo
{
    [Table(Name = "TModifyRecord")]
    public class ModifyRecordInfo
    {
        private Guid m_Code;
        [Column(IsPrimaryKey = true, Name = "编码", IsDbGenerated = false, Storage = "m_Code")]
        public Guid Code
        {
            get { return m_Code; }
            set { m_Code = value; }
        }

        private int m_TypeId;
        [Column(Name = "修改类型编码", DbType = "int", Storage = "m_TypeId", UpdateCheck = UpdateCheck.Never)]
        public int TypeId
        {
            get { return m_TypeId; }
            set { m_TypeId = value; }
        }
        private string m_TypeName;
        /// <summary>
        /// 修改类型
        /// </summary>
        public string TypeName
        {
            get { return m_TypeName; }
            set { m_TypeName = value; }
        }
        private string m_EventCode;
        [Column(Name = "事件编码", DbType = "char(16)", Storage = "m_EventCode", UpdateCheck = UpdateCheck.Never)]
        public string EventCode
        {
            get { return m_EventCode; }
            set { m_EventCode = value; }
        }

        private int? m_AcceptOrder;
        [Column(Name = "受理序号", DbType = "int", Storage = "m_AcceptOrder", UpdateCheck = UpdateCheck.Never)]
        public int? AcceptOrder
        {
            get { return m_AcceptOrder; }
            set { m_AcceptOrder = value; }
        }

        private string m_TaskCode;
        [Column(Name = "任务编码", DbType = "char(20)", Storage = "m_TaskCode", UpdateCheck = UpdateCheck.Never)]
        public string TaskCode
        {
            get { return m_TaskCode; }
            set { m_TaskCode = value; }
        }

        private string m_OperatorCode;
        [Column(Name = "操作员编码", DbType = "char(5)", Storage = "m_OperatorCode", UpdateCheck = UpdateCheck.Never)]
        public string OperatorCode
        {
            get { return m_OperatorCode; }
            set { m_OperatorCode = value; }
        }
        private string m_OperatorName;
        /// <summary>
        /// 操作员姓名
        /// </summary>
        public string OperatorName
        {
            get { return m_OperatorName; }
            set { m_OperatorName = value; }
        }
        private DateTime m_OperateTime;
        [Column(Name = "产生时刻", DbType = "datetime", Storage = "m_OperateTime", UpdateCheck = UpdateCheck.Never)]
        public DateTime OperateTime
        {
            get { return m_OperateTime; }
            set { m_OperateTime = value; }
        }
        private string m_StringOperateTime;
        public string StringOperateTime
        {
            get { return m_StringOperateTime; }
            set { m_StringOperateTime = value; }
        }
        private string m_OriginContent;
        [Column(Name = "修改前内容", DbType = "varchar(1000)", Storage = "m_OriginContent", UpdateCheck = UpdateCheck.Never)]
        public string OriginContent
        {
            get { return m_OriginContent; }
            set { m_OriginContent = value; }
        }

        private string m_NewContent;
        [Column(Name = "修改后内容", DbType = "varchar(1000)", Storage = "m_NewContent", UpdateCheck = UpdateCheck.Never)]
        public string NewContent
        {
            get { return m_NewContent; }
            set { m_NewContent = value; }
        }
    }
}
